runtime._defer.fn (field)
10 uses
runtime (current package)
heapdump.go#L386: fn := *(**funcval)(unsafe.Pointer(&d.fn))
heapdump.go#L388: if d.fn == nil {
mgcmark.go#L981: if d.fn != nil {
mgcmark.go#L984: scanblock(uintptr(unsafe.Pointer(&d.fn)), goarch.PtrSize, &oneptrmask[0], gcw, &state)
panic.go#L363: d.fn = fn
panic.go#L493: d1.fn = fn
panic.go#L611: d.fn = nil // Can in theory point to the stack
panic.go#L980: fn := d.fn
runtime2.go#L1157: fn func() // can be nil for open-coded defers
stack.go#L808: adjustpointer(adjinfo, unsafe.Pointer(&d.fn))
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |